/**
 * @file
 * @auth jinguangguo
 * @date 2017/5/10
 */

import Vue from 'vue';
import tpl from './tpl.html';
import coinMixin from './coinMixin';
import priceMixin from '../priceMixin';
export default Vue.extend({
    template: tpl,
    mixins: [coinMixin,priceMixin],
    data() {
        return {
            station:'ordinary',
            stationName:this.$t('common.address'),
            uidShow:false,
        };
    },
    watch:{
        station(val){
            if(val == 'current'){
                this.stationName = this.$t('asset.withdraw.uid')
            }else {
                this.stationName = this.$t('common.address')
            }
        },
    },
    created() {
    },
    mounted(){
    },
    methods:{
        //切换转出方式
        setStation(name){
            this.station = name;
            if(name == 'current'){
                this.uidShow = true;
            }else {
                this.uidShow = false;
            }
        }
    }
});
